<template>
<!-- 
  layout：布局 
  total: 总数据条数
  page-size: 每页几条
-->
  <el-pagination
    background
    layout="prev,pager, next"
    :page-size="20"
    :total="110"
    @current-change="hCurrentChange">
  </el-pagination>
</template>
<script>
export default {
  methods: {
    hCurrentChange(curPage) {
      console.log('当前是第',curPage,'页')
    }
  }
}
</script>